using System.Collections.Generic;

namespace OffsetPath
{
    public class ClassU : IComparer<PuntoDueD>
    {
        public int Compare(PuntoDueD A, PuntoDueD B)
        {
            if (A != B)
            {
                if (A.X > B.X)
                {
                    return 1;
                }
                if (A.X < B.X)
                {
                    return -1;
                }
            }
            return 0;
        }
    }
}

